<style>
h3 {
    font-size: 16px;
}
input {
    border: 1px solid #EDEDED;
    outline: none;
}
.modal-dialog {width:90%;top:20%;bottom:20%;left:5%;}
</style>
<div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>交保证金竞拍</h3></div>
<div class="modal-body">
<div class="form-group" style="padding-top:5px">
<input type="password" ng-model="modaldata.post.password" placeholder="支付密码" style="width: 80%;height: 30px;display: block;margin: 10px auto;line-height: 30px;padding: 5px;">
</div>
<div class="form-group">
<input type="checkbox" ng-model="modaldata.post.agree" name="agree" value="1" style="position: relative;left: 24px;top: 0px;">
<p style="width: 220px;height: 25px;display: block;margin: 0px;padding: 0;position: relative;top: -22px;left: 42px;">同意 《<a href="javascript:;" ng-click="modaldata.xieyishow=1" target="view_window">用户竞拍服务电子协议</a>》</p> 
</div>
</div>
<div class="modal-footer" style="text-align:center">
<button type="button" href="javascript:;" ng-click="modal_post(modaldata.post,'checkpay')" style="width: 100px;height: 32px;background: red;border: none;color: #FFF;position: relative;margin:5px auto">确认支付</button>
<button type="button" aria-hidden="true" data-dismiss="modal" style="width: 100px;height: 32px;background: #666;border: none;color: #FFF;position: relative;margin:5px auto">取消支付</button>
</div>

<style type="text/css">
.container{
	margin: 0 auto;
    width: 90%;
}
.title{
	border-top: 3px solid #EDEDED;
    color: #707070;
    line-height: 22px;
    padding:20px 0 5px 20px;
}
.title h1{
	color: #444444;
	font: 18px 
}
.title h1 span{
	color: #DCDCDC;
	font-weight: 700;
}
</style>
<script type="text/javascript">
scope.pagedata.extradata =[];
</script>
<div ng-if="modaldata.xieyishow==1" class="modal-dialog" style="width:100%;top:0%;left:0%;bottom:0;margin:0 auto">
	<div class="modal-content" style="border-radius: 4px;">
			<button style="margin-right:10px" href="javascript:;" ng-click="modaldata.xieyishow=0" class="close" type="button">×</button>
			<div ng-init="get_data(pagedata.extradata,'getxieyi',{plugin:'core',action:'article.list',query:'op=detail&id='+pagedata.pluginset.fuwuid})" class="container" style="max-height:380px;min-height:290px;overflow-y:auto;margin-bottom:30px;margin-top:30px">
				<div class="box">
					<div class="title">
						<h3 style='"Microsoft Yahei",Tahoma;'>用户协议 <span>USER AGREEMENT </span></h3>	
					</div>
					<div class="editbox" ng-bind-html="trust(pagedata.extradata.getxieyi.item.content)">
					</div>
				</div>
			</div>
			<div class="modal-footer" style="text-align:center">
				<button type="button" href="javascript:;" ng-click="modaldata.xieyishow=0"  style="width: 88px;height: 28px;background: #F60;border: none;color: #FFF;position: relative;margin:5px auto">已阅读</button>
			</div>
	</div>
</div>